package com.mzpai.product.model;

import java.math.BigDecimal;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="用户表")
public class User extends BaseModel{
	
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="用户id")
	private Integer uid;
	@ApiModelProperty(value="用户账号")
    private String account;
	@ApiModelProperty(value="用户密码")
    private String pwd;
	@ApiModelProperty(value="真实姓名")
    private String realName;
	@ApiModelProperty(value="生日")
    private Integer birthday;
	@ApiModelProperty(value="身份证号码")
    private String cardId;
	@ApiModelProperty(value="用户备注")
    private String mark;
	@ApiModelProperty(value="合伙人id")
    private Integer partnerId;
	@ApiModelProperty(value="用户分组id")
    private Integer groupId;
	@ApiModelProperty(value="用户昵称")
    private String nickname;
	@ApiModelProperty(value="用户头像")
    private String avatar;
	@ApiModelProperty(value="手机号码")
    private String phone;
	@ApiModelProperty(value="添加时间")
    private Integer addTime;
	@ApiModelProperty(value="添加ip")
    private String addIp;
	@ApiModelProperty(value="最后一次登录时间")
    private Integer lastTime;
	@ApiModelProperty(value="最后一次登录ip")
    private String lastIp;
	@ApiModelProperty(value="用户余额")
    private BigDecimal nowMoney;
	@ApiModelProperty(value="佣金金额")
    private BigDecimal brokeragePrice;
	@ApiModelProperty(value="用户剩余积分")
    private BigDecimal integral;
	@ApiModelProperty(value="连续签到天数")
    private Integer signNum;
	@ApiModelProperty(value="1为正常，0为禁止")
    private Boolean status;
	@ApiModelProperty(value="等级")
    private Byte level;
	@ApiModelProperty(value="推广元id")
    private Integer spreadUid;
	@ApiModelProperty(value="推广员关联时间")
    private Integer spreadTime;
	@ApiModelProperty(value="用户类型")
    private String userType;
	@ApiModelProperty(value="自增ID是否为推广员")
    private Boolean isPromoter;
	@ApiModelProperty(value="用户购买次数")
    private Integer payCount;
	@ApiModelProperty(value="下级人数")
    private Integer spreadCount;
	@ApiModelProperty(value="清理会员时间")
    private Integer cleanTime;
	@ApiModelProperty(value="详细地址")
    private String addres;
	@ApiModelProperty(value="管理员编号")
    private Integer adminid;
	@ApiModelProperty(value="用户登陆类型，h5,wechat,routine")
    private String loginType;
	@ApiModelProperty(value="用户密文")
    private String userText;
	@ApiModelProperty(value="用户密钥")
    private String secretKey;
	
    
    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public Integer getBirthday() {
        return birthday;
    }

    public void setBirthday(Integer birthday) {
        this.birthday = birthday;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark == null ? null : mark.trim();
    }

    public Integer getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(Integer partnerId) {
        this.partnerId = partnerId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getAddTime() {
        return addTime;
    }

    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }

    public String getAddIp() {
        return addIp;
    }

    public void setAddIp(String addIp) {
        this.addIp = addIp == null ? null : addIp.trim();
    }

    public Integer getLastTime() {
        return lastTime;
    }

    public void setLastTime(Integer lastTime) {
        this.lastTime = lastTime;
    }

    public String getLastIp() {
        return lastIp;
    }

    public void setLastIp(String lastIp) {
        this.lastIp = lastIp == null ? null : lastIp.trim();
    }

    public BigDecimal getNowMoney() {
        return nowMoney;
    }

    public void setNowMoney(BigDecimal nowMoney) {
        this.nowMoney = nowMoney;
    }

    public BigDecimal getBrokeragePrice() {
        return brokeragePrice;
    }

    public void setBrokeragePrice(BigDecimal brokeragePrice) {
        this.brokeragePrice = brokeragePrice;
    }

    public BigDecimal getIntegral() {
        return integral;
    }

    public void setIntegral(BigDecimal integral) {
        this.integral = integral;
    }

    public Integer getSignNum() {
        return signNum;
    }

    public void setSignNum(Integer signNum) {
        this.signNum = signNum;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public Integer getSpreadUid() {
        return spreadUid;
    }

    public void setSpreadUid(Integer spreadUid) {
        this.spreadUid = spreadUid;
    }

    public Integer getSpreadTime() {
        return spreadTime;
    }

    public void setSpreadTime(Integer spreadTime) {
        this.spreadTime = spreadTime;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public Boolean getIsPromoter() {
        return isPromoter;
    }

    public void setIsPromoter(Boolean isPromoter) {
        this.isPromoter = isPromoter;
    }

    public Integer getPayCount() {
        return payCount;
    }

    public void setPayCount(Integer payCount) {
        this.payCount = payCount;
    }

    public Integer getSpreadCount() {
        return spreadCount;
    }

    public void setSpreadCount(Integer spreadCount) {
        this.spreadCount = spreadCount;
    }

    public Integer getCleanTime() {
        return cleanTime;
    }

    public void setCleanTime(Integer cleanTime) {
        this.cleanTime = cleanTime;
    }

    public String getAddres() {
        return addres;
    }

    public void setAddres(String addres) {
        this.addres = addres == null ? null : addres.trim();
    }

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType == null ? null : loginType.trim();
    }

	public String getUserText() {
		return userText;
	}

	public void setUserText(String userText) {
		this.userText = userText;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}
    
    
}